import { createApp } from 'vue'
import App from './App.vue'
import './assets/css/styles/element/index.scss'
import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'
import './assets/css/styles/element/index.scss'
import router from '@/router'
import { size } from '@/config/globalConfig'
import * as pinia from 'pinia'
import Layout from '@/components/Layout.vue'
import WinOp from '@/components/WinOp.vue'
import Blank from '@/components/Blank.vue'
import ContentPanel from '@/components/ContentPanel.vue'

const app = createApp(App)
app.use(ElementPlus, {
  size
})
app.use(pinia.createPinia())
app.use(router)
app.component('Layout', Layout)
app.component('WinOp', WinOp)
app.component('Blank', Blank)
app.component('ContentPanel', ContentPanel)
app.mount('#app')
